<div class="row">
	<ul class="hProductItems clearfix">
<?php 
foreach( $digitalContents as $digitalContent )
{
?>
								<li class="span3 clearfix">
									<div class="thumbnail">
										<a href="<?php print URL . 'digitalcontent/show/' . $digitalContent->digital_content_id; ?>"><img style="height:212px; width:192px;" src="<?php if(!empty($digitalContent->image)) { print URL . 'uploads/' . $digitalContent->image; } else { print URL;?>site/img/212x192.jpg <?php } ?>" alt=""></a>
									</div>
									<div class="thumbSetting">
										<div class="thumbTitle">
											<a href="<?php print URL . 'digitalcontent/show/' . $digitalContent->digital_content_id; ?>" class="invarseColor">
												<?php 
												if($_SESSION['lang'] == 'ar') {
													print $digitalContent->title_ar;
												} else {
													print $digitalContent->title_en;
												}
												
												?>
											</a>
										</div>
									</div>
								</li>
<?php 
}
?>
</div><!--end row-->